package com.project.webOneService;

import com.project.config.MyFeignConfiguration;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
@FeignClient(name = "webOne",path = "/product",contextId = "webOne1",configuration = MyFeignConfiguration.class)
public interface IProductService {
            /**
             * 商城后端修改商品状态
             * @param productStatus 商品状态 0--上架 1---下架 2---待美化 3---审核不通过
             * @param productNum 商品编号（规格编号）
             * @return
             */
            @RequestMapping("updateProductStatus/{productStatus}/{productNum}")
            public String updateProductStatus(@PathVariable("productStatus") int productStatus, @PathVariable("productNum")String productNum);
}
